Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NAutoCompleteBox Class / InitAutoComplete Method / InitAutoComplete<YECd>(INIterable<YECd>,NWidgetFactory<YECd>) Method
The type of the items in the autocomplete data source.
The auto complete data source.
The method for creating auto complete list box items' content.


In This Topic
    InitAutoComplete<YECd>(INIterable<YECd>,NWidgetFactory<YECd>) Method
    In This Topic
    Initializes the auto complete data source and widget creation method that is used to create the content of the auto complete drop down items. You should also call this method when you make a change to the auto complete source.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub InitAutoComplete(Of YECd)( _
       ByVal autoCompleteSource As INIterable(Of YECd), _
       ByVal autoCompleteFactory As NWidgetFactory(Of YECd) _
    ) 
    'Usage
     
    
    Dim instance As NAutoCompleteBox
    Dim autoCompleteSource As INIterable(Of YECd)
    Dim autoCompleteFactory As NWidgetFactory(Of YECd)
     
    instance.InitAutoComplete(Of YECd)(autoCompleteSource, autoCompleteFactory)

    Parameters

    autoCompleteSource
    The auto complete data source.
    autoCompleteFactory
    The method for creating auto complete list box items' content.

    Type Parameters

    YECd
    The type of the items in the autocomplete data source.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also